import React, { Component } from 'react'
import MyContext from '@/utils/cxt'

export default class GrandSonSon extends Component {
  render() {
    let pStyle={width:'100px',height:'100px',backgroundColor:'yellow',display:'flex',justifyContent:'center',alignItems:'center'}
    return (
      <>
        <div style={pStyle}>
          {this.context}
        </div>
      </>
    )
  }
}
GrandSonSon.contextType=MyContext